<html>
<head><meta http-equiv="refresh" content="1; URL=main.php"></head>
<BODY bgcolor = "#000000">
 <?php 
	
    $conn = oci_connect("hospital", "hospital", "//localhost/XE"); 
	$ss = "UPDATE phamacy_st SET DRUG_ID = '$_POST[drug_id]', DRUG_NAME = '$_POST[drug_name]', FEE = '$_POST[fee]'
	    WHERE DRUG_ID = '$_GET[col]' ";
		
	$update= oci_parse($conn,$ss);
	oci_execute($update);
 ?>
 
<font color="#ffffff" size="20">Redirecting ...</font>
 </body>
 </html>